/**
 * Copyright &copy; 2012-2017 <a href="https://vivo.com">vivo</a> All rights reserved.
 */
package com.vivo.employee.entity;

import com.thinkgem.jeesite.modules.sys.entity.Office;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.thinkgem.jeesite.common.utils.excel.annotation.ExcelField;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 转正管理Entity
 * @author jyangye
 * @version 2017-12-28
 */
public class ViEmpOndutyManager extends DataEntity<ViEmpOndutyManager> {
	
	private static final long serialVersionUID = 1L;
	private String name;		// 员工姓名
	private String code;		// 员工编号
    private String phone;       // 联系方式
	private String employeeId;		// 员工ID
    private String empAttribute;
	private Double parcticeTime;		// 实习时长
	private Date ondutyDate;		// 转正日期
	private String isActive;		// 是否转正
	private Date beginOndutyDate;		// 开始 转正日期
	private Date endOndutyDate;		// 结束 转正日期

    private Date beginIndutyDate; // 开始 入职日期
    private Date endIndutyDate;   // 结束 入职日期

    private Date indutyDate;

    private Office comp;
    private Office dept;
    private Office post;


    private String kpTypeOne;
    private Double kpScoreOne;
    private String kpTypeTwo;
    private Double kpScoreTwo;
    private String kpTypeThree;
    private Double kpScoreThree;
    private String kpTypeFour;
    private Double kpScoreFour;
    private String kpTypeFive;
    private Double kpScoreFive;

    private Double zhScore;
    private String isDelay;

	
	public ViEmpOndutyManager() {
		super();
	}

	public ViEmpOndutyManager(String id){
		super(id);
	}

	@Length(min=1, max=32, message="姓名长度必须介于 1 和 32 之间")
	@ExcelField(title="姓名", align=2, sort=10)
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Length(min=1, max=32, message="身份证号长度必须介于 1 和 32 之间")
	@ExcelField(title="身份证号", align=2, sort=20)
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}


    public Office getComp() {
        return comp;
    }

    public void setComp(Office comp) {
        this.comp = comp;
    }

    @ExcelField(title="部门", align=2, sort=30)
    public Office getDept() {
        return dept;
    }

    public void setDept(Office dept) {
        this.dept = dept;
    }

    @ExcelField(title="岗位", align=2, sort=40)
    public Office getPost() {
        return post;
    }

    public void setPost(Office post) {
        this.post = post;
    }


	public String getEmployeeId() {
		return employeeId;
	}

	public void setEmployeeId(String employeeId) {
		this.employeeId = employeeId;
	}

    @ExcelField(title = "岗位属性", align = 2, sort = 45, dictType = "emp_people_attr")
    public String getEmpAttribute() {
        return empAttribute;
    }

    public void setEmpAttribute(String empAttribute) {
        this.empAttribute = empAttribute;
    }

    @ExcelField(title = "实习时长", align = 2, sort = 50)
	public Double getParcticeTime() {
		return parcticeTime;
	}

	public void setParcticeTime(Double parcticeTime) {
		this.parcticeTime = parcticeTime;
	}

	@ExcelField(title = "入职日期", align = 2, sort = 60)
    public Date getIndutyDate() {
        return indutyDate;
    }

    public void setIndutyDate(Date indutyDate) {
        this.indutyDate = indutyDate;
    }

    @JsonFormat(pattern = "yyyy-MM-dd")
	@ExcelField(title="转正日期", align=2, sort=70)
	public Date getOndutyDate() {
		return ondutyDate;
	}

	public void setOndutyDate(Date ondutyDate) {
		this.ondutyDate = ondutyDate;
	}


	@ExcelField(title = "是否转正", align = 2, sort = 80, dictType = "yes_no")
    public String getIsActive() {
		return isActive;
	}

	public void setIsActive(String isActive) {
		this.isActive = isActive;
	}
	
	public Date getBeginOndutyDate() {
		return beginOndutyDate;
	}

	public void setBeginOndutyDate(Date beginOndutyDate) {
		this.beginOndutyDate = beginOndutyDate;
	}
	
	public Date getEndOndutyDate() {
		return endOndutyDate;
	}

	public void setEndOndutyDate(Date endOndutyDate) {
		this.endOndutyDate = endOndutyDate;
	}


    public Date getBeginIndutyDate() {
        return beginIndutyDate;
    }

    public void setBeginIndutyDate(Date beginIndutyDate) {
        this.beginIndutyDate = beginIndutyDate;
    }

    public Date getEndIndutyDate() {
        return endIndutyDate;
    }

    public void setEndIndutyDate(Date endIndutyDate) {
        this.endIndutyDate = endIndutyDate;
    }


    @ExcelField(title = "第一月考评方式", align = 2, sort = 90)
    public String getKpTypeOne() {
        return kpTypeOne;
    }

    public void setKpTypeOne(String kpTypeOne) {
        this.kpTypeOne = kpTypeOne;
    }

    @ExcelField(title = "考评成绩", align = 2, sort = 100)
    public Double getKpScoreOne() {
        return kpScoreOne;
    }

    public void setKpScoreOne(Double kpScoreOne) {
        this.kpScoreOne = kpScoreOne;
    }

    @ExcelField(title = "第二月考评方式", align = 2, sort = 110)
    public String getKpTypeTwo() {
        return kpTypeTwo;
    }

    public void setKpTypeTwo(String kpTypeTwo) {
        this.kpTypeTwo = kpTypeTwo;
    }

    @ExcelField(title = "考评成绩", align = 2, sort = 120)
    public Double getKpScoreTwo() {
        return kpScoreTwo;
    }

    public void setKpScoreTwo(Double kpScoreTwo) {
        this.kpScoreTwo = kpScoreTwo;
    }

    @ExcelField(title = "第三月考评方式", align = 2, sort = 130)
    public String getKpTypeThree() {
        return kpTypeThree;
    }

    public void setKpTypeThree(String kpTypeThree) {
        this.kpTypeThree = kpTypeThree;
    }

    @ExcelField(title = "考评成绩", align = 2, sort = 140)
    public Double getKpScoreThree() {
        return kpScoreThree;
    }

    public void setKpScoreThree(Double kpScoreThree) {
        this.kpScoreThree = kpScoreThree;
    }

    @ExcelField(title = "第四月考评方式", align = 2, sort = 150)
    public String getKpTypeFour() {
        return kpTypeFour;
    }

    public void setKpTypeFour(String kpTypeFour) {
        this.kpTypeFour = kpTypeFour;
    }

    @ExcelField(title = "考评成绩", align = 2, sort = 160)
    public Double getKpScoreFour() {
        return kpScoreFour;
    }

    public void setKpScoreFour(Double kpScoreFour) {
        this.kpScoreFour = kpScoreFour;
    }

    @ExcelField(title = "第五月考评方式", align = 2, sort = 170)
    public String getKpTypeFive() {
        return kpTypeFive;
    }

    public void setKpTypeFive(String kpTypeFive) {
        this.kpTypeFive = kpTypeFive;
    }

    @ExcelField(title = "考评成绩", align = 2, sort = 180)
    public Double getKpScoreFive() {
        return kpScoreFive;
    }

    public void setKpScoreFive(Double kpScoreFive) {
        this.kpScoreFive = kpScoreFive;
    }

    public Double getZhScore() {
        return zhScore;
    }

    public void setZhScore(Double zhScore) {
        this.zhScore = zhScore;
    }

    public String getIsDelay() {
        return isDelay;
    }

    public void setIsDelay(String isDelay) {
        this.isDelay = isDelay;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}